package me.firstapp.module.weixin.product;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "PRODUCT_SUPPLIER")
public class Supplier extends BaseEntity {

	private static final long serialVersionUID = -3710272091906091815L;

	// 名称
	@Column(name = "NAME", length = 100, nullable = false)
	private String name;

	// 联系人
	@Column(name = "CONTACTS", length = 100, nullable = false)
	private String contacts;

	// 店铺链接
	@Column(name = "SHOP_URL", length = 500, nullable = false)
	private String shopUrl;

	// 证件号
	@Column(name = "ID_CARD", length = 100)
	private String idCard;

	// QQ号
	@Column(name = "QQ", length = 20)
	private String qq;

	// 旺旺
	@Column(name = "WW", length = 20)
	private String ww;

	// 微信号
	@Column(name = "WEI_XIN", length = 40)
	private String weixin;

	// 座机号
	@Column(name = "TEL_PHONE", length = 20)
	private String telPhone;

	// 手机号
	@Column(name = "MOBILE", length = 11)
	private String mobile;

	// 邮箱
	@Column(name = "EMAIL", length = 40)
	private String email;

	// 联系地址
	@Column(name = "ADDRESS", length = 500)
	private String address;

	// 外部平台名称
	@Column(name = "OUT_SYS_NAME", length = 30)
	private String sysName;

	// 备注
	@Column(name = "REMARK", length = 200)
	private String remark;

	// 添加时间
	@Column(name = "TIME_AT", columnDefinition = "DATETIME", nullable = false)
	private Date timeAt;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getTelPhone() {
		return telPhone;
	}

	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getShopUrl() {
		return shopUrl;
	}

	public void setShopUrl(String shopUrl) {
		this.shopUrl = shopUrl;
	}

	public Date getTimeAt() {
		return timeAt;
	}

	public void setTimeAt(Date timeAt) {
		this.timeAt = timeAt;
	}

	public String getWw() {
		return ww;
	}

	public void setWw(String ww) {
		this.ww = ww;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

}
